﻿@model CmsContentType
@{
    ResFile = "cms_Content";
    ViewBag.Title = _("Meta Fields");    
}

<p><a class="b-back-link" href="/admin/cmscontenttype/edit/@Model.Id"><i class="b-icon"></i>@_("Back to Content items")</a></p>

<h1 class="g-clear">
	<i class="b-icon b-icon_h b-icon_h_contenttypes"></i>
	<span class="b-overflow">
	@_("Content Type Fields")
	<span class="b-intro-text">@_("This section allows to manage meta fields for current content type.")</span>
	</span>  
</h1>


    <p class="clear-left">
        <a class="b-button" href="@Url.Action("add", "cmscontent", new { id = @Model.Id})">@_("Add a content")</a>
        <a class="b-button" href="@Url.Action("editdetails", "cmscontenttype", new { id = @Model.Id})">@_("Edit details")</a>    
        <a class="b-button" href="@Url.Action("MetaFields", "cmscontenttype", new { id = @Model.Id })">@_("Content Type Meta")</a>
    </p>
	
    <div class="t-content-inner g-clear">
		<p class="clear-left">
		    <a class="b-button b-button_save" href="@Url.Action("addmeta", new {typeid = Model.Id})">@_("Add new meta field")</a>
		</p>			
		@Html.Action("entitymetafields", "cmsmetafield", new { entityTypeParameter = CmsConstants.ContentParameter + Model.Id})
	</div>
	
